<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过滤器</title>
</head>
<body>
<p>{{ greet }}</p>
<p>{{ greet | cut:' ' }}</p>
<p>生日：{{ birthday }}</p>
<p>生日：{{ birthday | date:"y/m/d" }}</p>
<p>生日：{{ birthday | date:"Y/m/d" }}</p>
<p>生日：{{ birthday | date:"Y年n月d日" }}</p>
<p>profile:{{ profile | default:"nothing"}}</p>
<div>{{ html }}</div>
<div>{{ html|safe }}</div>
</body>
</html>